import subprocess

cmd = "py youtubeTranscripts.py"
cmd_output = subprocess.Popen(['py', 'youtubeTranscripts.py',"https://www.youtube.com/watch?v=rFQ5Kmkd4jc"], stdin = subprocess.PIPE, stdout=subprocess.PIPE)
output = cmd_output.stdout.readlines()
output = output[0].decode(encoding=("gbk" if bin else "utf8"))
print(output)
